.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 200px;
}

.block {
  width: 120px;
  height: 120px;
  background-color: #fff;
}

.content {

  .main {

    // padding: 10px;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;

    .goods-info {
      // position: relative;
      display: flex;

      .brands-list {
        height: calc(100vh - 40px);
        width: 80px;
        position: fixed;
        left: 0;
        top: 0;
        border-right: 1px solid rgb(192, 192, 192);
        border-bottom: 1px solid rgb(192, 192, 192);

        .brands-item {
          font-size: 14px;
          text-align: center;
          line-height: 40px;
          height: 40px;
        }

        .line {
          width: 100px;
          height: 1px;
          background: linear-gradient(244deg, rgba(228, 0, 48, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(228, 0, 48, 0) 100%);
        }

        .brands-item:first-child {
          margin-top: 0px;
        }

        .isBrandsActive {
          background-color: #e40030;
          color: white;
        }
      }

      .goods-list {
        margin-left: 102px;
        margin-bottom: 50px;

        .goods-item {
          box-shadow: 0 0 10px rgba(0, 0, 0, .2);
          margin: 14px 14px;
          border-radius: 18px;
          display: flex;
          justify-content: space-around;

          .left {
            padding: 10px;
            // flex: 2.4;
            width: 100px;
            height: 100px;

            image {
              width: 100%;
              height: 100%;
            }
          }

          .right {
            padding: 10px;
            text-align: center;

            .name {
              font-size: 15px;
              height: 40px;
              line-height: 40px;
            }

            .price-btn {
              display: flex;
              height: 50px;
              align-items: flex-end;


              .btn {
                width: 80px;
                font-size: 12px;
                height: 24px;
                line-height: 24px;
                color: white;
                border-radius: 18px;
                background-color: #e40030;
              }
            }
          }
        }
      }
    }

    .buy {
      display: flex;

      .goods-detail {
        .detail-popup {
          margin-bottom: 80px;

          .detail-info {
            padding: 10px;
            display: flex;
            align-items: center;

            .left {
              width: 100px;
              height: 100px;

              image {
                width: 100%;
                height: 100%;
              }
            }

            .right {
              margin-left: 20px;

              .name {}
            }
          }

          .sku {
            padding: 10px;

            .title {}

            .item-box {
              display: flex;
              flex-wrap: wrap;

              .item {
                padding: 0 14px;
                margin-right: 10px;
                margin-top: 10px;
                height: 36px;
                line-height: 36px;
                background-color: #f7f7f7;
                color: black;
              }

              .item-active {
                background-color: rgba(226, 0, 49, 0.082);
                color: #e40030;
              }
            }
          }

          .package {
            padding: 10px;

            .title {}

            .item-box {
              display: flex;
              flex-wrap: wrap;

              .item {
                padding: 0 14px;
                margin-right: 10px;
                margin-top: 10px;
                height: 36px;
                line-height: 36px;
                background-color: #f7f7f7;
                color: black;
              }

              .item-active {
                background-color: rgba(226, 0, 49, 0.082);
                color: #e40030;
              }
            }
          }

          .bottom {
            position: fixed;
            bottom: 0;
            height: 60px;
            width: 100%;
            background-color: white;

            .add-cart {
              height: 34px;
              width: 50%;
              font-size: 14px;
              background-color: #e40030;
              color: white;
              border: none;
            }
          }
        }
      }
    }
  }
}

.bottom {
  .title {
    margin-top: 10px;
    text-align: center;
  }

  .cart {
    margin-top: 20px;
    margin-bottom: 34px;
    padding: 11px;

    .left {
      padding: 5px;
      display: flex;
      justify-content: space-around;

      .img-box {
        width: 150px;
        height: 94px;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .info-box {
        padding-left: 10px;
        width: 100%;
        line-height: 35px;

        .name {
          font-size: 17px;
        }

        .sku {
          font-size: 14px;
          color: #727272;
        }

        .price-btn {
          height: 25px;
          display: flex;
          justify-content: space-between;

          .price {
            font-weight: bold;
            font-size: 17px;
            color: #e40030;
          }

          .btn {
            display: flex;

            .reduce {
              width: 26px;
              text-align: center;
              line-height: 26px;
              height: 26px;
              background-color: #cacaca;
            }

            .ipt-num {
              border: 1px solid #f5f5f5;
              width: 50px;
              text-align: center;
            }

            .add {
              width: 26px;
              text-align: center;
              line-height: 26px;
              height: 26px;
              color: white;
              background-color: #e40030;
            }
          }
        }
      }
    }

    .van-swipe-cell__left,
    .van-swipe-cell__right {
      display: inline-block;
      width: 65px;
      height: 100%;
      font-size: 15px;
      display: flex;
      justify-content: center;
      text-align: center;
      align-items: center;
      color: #fff;
      text-align: center;
      background-color: #e40030;

    }

    .cart-bottom {
      width: 100%;
      height: 44px;
      z-index: 5;
      background-color: #f5f5f5;
      position: fixed;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: space-around;

      .sum-price {
        margin-left: 24px;
      }

      .edit {
        background-color: #e2758d;
        color: white;
        border-radius: 18px;
        width: 85px;
        font-size: 14px;
      }

      .action {
        background-color: #e40030;
        color: white;
        font-size: 14px;
        border-radius: 18px;
      }
    }
  }

  .van-empty {
    background-color: white;
  }

  .van-empty__description {
    font-size: 16px;
  }
}